package com.huangwei.service;

import com.huangwei.model.User;

import java.util.List;

public interface UserService {
    public int addUser(User user);
    public int deleteUser(int userId);
    public int updateUser(User user);
    public User getOneUserById(int userId);
    public User getOneUserByPhone(String phone);
    public User getOneUserToLogin(String phone, String password);
    public List<User> getAllUsers();
}
